package com.ruoyi.web.area.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 国家管理对象 country
 *
 * @author hjy
 * @date 2022-12-10
 */
public class Country extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 大洲id */
    @Excel(name = "大洲id")
    private Long continentid;

    @Excel(name="大洲名称")
    private String continentName;

    /** 国家名称 */
    @Excel(name = "国家名称")
    private String name;

    /** 国家代码 */
    @Excel(name = "国家代码")
    private String code;

    /** 地理位置编号 */
    @Excel(name = "地理位置编号")
    private String locationid;

    /** 国家人口 */
    @Excel(name = "国家人口")
    private Long personNum;

    /** 国家大小 */
    @Excel(name = "国家大小")
    private String size;

    /** 省数量 */
    @Excel(name = "省数量")
    private Long provinceNum;

    /** 国家图片 */
    @Excel(name = "国家图片")
    private String img;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setContinentid(Long continentid)
    {
        this.continentid = continentid;
    }

    public Long getContinentid()
    {
        return continentid;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setLocationid(String locationid)
    {
        this.locationid = locationid;
    }

    public String getLocationid()
    {
        return locationid;
    }
    public void setPersonNum(Long personNum)
    {
        this.personNum = personNum;
    }

    public Long getPersonNum()
    {
        return personNum;
    }
    public void setSize(String size)
    {
        this.size = size;
    }

    public String getSize()
    {
        return size;
    }
    public void setProvinceNum(Long provinceNum)
    {
        this.provinceNum = provinceNum;
    }

    public Long getProvinceNum()
    {
        return provinceNum;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }
    public String getContinentName() {
        return continentName;
    }

    public void setContinentName(String continentName) {
        this.continentName = continentName;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("continentid", getContinentid())
            .append("name", getName())
            .append("code", getCode())
            .append("locationid", getLocationid())
            .append("personNum", getPersonNum())
            .append("size", getSize())
            .append("provinceNum", getProvinceNum())
            .append("img", getImg())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
